/*
Web: http://www.jsForms.com
Copyright (C) 2008  Igor Demyanov (mailto:Igor.Demyanov@gmail.com)
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
jsForms.Templates.CssSelectorProperty='<div>'+
'<input name="pName" class="CssSelectorProperty1"/>'+
'<input name="pValue" class="CssSelectorProperty2"/>'+
+'</div>';
jsForms.Templates.CssConfig ='<div>'+
	'<select name="cssSelectorName" class="CssConfigSelect"/>'+
	'<component type="ButtonDiv" class="CssConfigApply">'+
		'<events><key name="onClick" value="ApplySetting"/></events>'+
	'</component>'+
	'<component type="ButtonDiv" class="CssConfigInsert">'+
		'<events><key name="onClick" value="Insert_onClick"/></events>'+
	'</component>'+
	'<component type="ButtonDiv" class="CssConfigDelete">'+
		'<events><key name="onClick" value="DeleteCssSelector"/></events>'+
	'</component>'+
	'<component type="TabControl" class="CssConfigTabs">'+
		'<properties><key name="Align" value="bottom"/></properties>'+
		'<content>'+
			'<component type="TabItem">'+
			'<properties><key name="Title" value="Properties"/></properties>'+
			'<content>'+
				'<div name="propList" class="CssConfig0"/>'+
			'</content>'+
			'</component>'+
			'<component type="TabItem">'+
			'<properties><key name="Title" value="RAW"/></properties>'+
			'<events>'+
			'<key name="onSelect" value="SelectRawTab"/>'+
			'<key name="onDeselect" value="DeselectRawTab"/>'+
			'</events>'+
			'<content>'+
				'<component type="SourceEditor" name="sourceCSS">'+
				'<properties><key name="InitParam" >'+
				'{syntax: "css"}'+
				'</key></properties>'+
				'</component>'+
			'</content>'+
			'</component>'+
		'</content>'+
	'</component>'+
'</div>';
